package com.ruoyi.project.exam.domain;

import java.util.Date;
import java.util.List;

import com.ruoyi.framework.web.domain.BaseEntity;

/**
 *  用户考试试卷
 * @author Administrator
 *
 */
public class PaperModel extends BaseEntity{
	
	private static final long serialVersionUID = 1L;

	/***/
    private String id;
    /**试卷ID*/
    private String examPaperId;
    /**用户ID*/
    private long userId;
    /**考试ID*/
    private String examId;
    /**考试标题*/
    private String title;
    /**考试时长*/
    private int totalTime;
    /**用户时长*/
    private long userTime;
    /**试卷总分*/
    private int totalScore;
    /**及格分*/
    private int qualifyScore;
  
    /**用户得分*/
    private int userScore;

    /**截止时间*/
    private Date limitTime;
    /**单选题列表*/
    private List<PaperQuModel> radioList;
    /**多选题列表*/
    private List<PaperQuModel> multiList;
    /**判断题*/
    private List<PaperQuModel> judgeList;
    
    private List<PaperQuModel> paperQuList;
    /**剩余秒数*/
    private long leftSeconds;
    /**用户名*/
    private String userName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getExamId() {
		return examId;
	}

	public void setExamId(String examId) {
		this.examId = examId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(int totalTime) {
		this.totalTime = totalTime;
	}

	public long getUserTime() {
		return userTime;
	}

	public void setUserTime(long userTime) {
		this.userTime = userTime;
	}

	public int getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(int totalScore) {
		this.totalScore = totalScore;
	}

	public int getQualifyScore() {
		return qualifyScore;
	}

	public void setQualifyScore(int qualifyScore) {
		this.qualifyScore = qualifyScore;
	}

	public int getUserScore() {
		return userScore;
	}

	public void setUserScore(int userScore) {
		this.userScore = userScore;
	}

	public Date getLimitTime() {
		return limitTime;
	}

	public void setLimitTime(Date limitTime) {
		this.limitTime = limitTime;
	}

	public List<PaperQuModel> getRadioList() {
		return radioList;
	}

	public void setRadioList(List<PaperQuModel> radioList) {
		this.radioList = radioList;
	}

	public List<PaperQuModel> getMultiList() {
		return multiList;
	}

	public void setMultiList(List<PaperQuModel> multiList) {
		this.multiList = multiList;
	}

	public List<PaperQuModel> getJudgeList() {
		return judgeList;
	}

	public void setJudgeList(List<PaperQuModel> judgeList) {
		this.judgeList = judgeList;
	}

	public long getLeftSeconds() {
		return (long) (this.totalTime * 60) ;
	}

	public void setLeftSeconds(long leftSeconds) {
		this.leftSeconds = leftSeconds;
	}

	public String getExamPaperId() {
		return examPaperId;
	}

	public void setExamPaperId(String examPaperId) {
		this.examPaperId = examPaperId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<PaperQuModel> getPaperQuList() {
		return paperQuList;
	}

	public void setPaperQuList(List<PaperQuModel> paperQuList) {
		this.paperQuList = paperQuList;
	}
    
    
	
}
